package com.tools.cloud.consumer.config;

import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "resturl")
@PropertySource("classpath:config/configparam.properties")
@Data
@NoArgsConstructor
public class ResturlProperties {
    private String paymentpath;
}
